Stack Smash Protector
C言語の例
code: scan.c
int main(void)
{
scanf("%s", s);
return 0;
}
SSPが無効な場合
$ gcc scan.c -o scan_nossp -fno-stack-protector
$ ./scan_nossp
(入力)aaaaaaaaaaaaaaaaaaaa
SSPが有効な場合
$ gcc scan.c -o scan_ssp
$ ./scan_ssp
(入力)aaaaaaaaaaaaaaaaaaa